//
//  LMOrderEnum.h
//  WelfareManager
//
//  Created by longmin on 17/3/24.
//  Copyright © 2017年 timtian. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef enum {
    LMOrderStateUnPay = 1,          //未付款
    LMOrderStateUnDispatch,         //待发货
    LMOrderStateWaitPay,            //待用户付款
    LMOrderStateWaitSitePay,        //待站点付款
    LMOrderStateWaitVipPay,         //待会员付款
    //少了个6
    LMOrderStatePartDispatch = 7,       //部分发货
    LMOrderStateDispacthed,         //已发货
    LMOrderStateComplete,           //已完成
    LMOrderStateSettled,            //已结算
    LMOrderStateClosed,             //已关闭
    
    LMOrderStateUnApply,            //未申请
    LMOrderStateRefundOnly,         //仅退款
    LMOrderStateRefundAll,          //退货退款
    LMOrderStateWaitSiteDeal,       //待站点操作
    LMOrderStateWaitVipDeal,        //待会员操作
    LMOrderStateWaitSupplyDeal,     //待供应商操作
    LMOrderStateWaitDispatch,       //待卖家邮寄
    LMOrderStateWaitReturnGoods,    //待商家确认退货
    LMOrderStateWaitRefund,         //待退款
    LMOrderStateCancelSaleServer,   //用户取消售后
    LMOrderStateRefundRejected,     //退款被拒绝
    LMOrderStateRefundSuccess,      //退款成功
    
}LMOrderState;

typedef enum {
    LMExpressStateWaitDispatch = 1, //待发货
    LMExpressStateDispatched        //已发货
}LMExpressState;
//    0：在途,1：揽件,2：疑难,3：签收,4：退签,5：派件,6：退回",
typedef enum {
    LMExpressProgressOnWay,         //0.在途
    LMExpressProgressCollect,       //1.揽件
    LMExpressProgressProblem,       //2.疑难
    LMExpressProgressSigned,        //3.签收
    LMExpressProgressRejectSign,    //4.退签
    LMExpressProgressDelivered,     //5.派件
    LMExpressProgressReturn,        //6.退回
}LMExpressProgress;

@interface LMOrderEnum : NSObject

@property(nonatomic, strong) NSArray *orderStates;

- (NSString *)orderState:(LMOrderState)state;   //根据枚举返回对应字符串

+ (instancetype)orderEnum;

@end





